package com.crm.service;

import com.crm.pojo.Contact;
import com.crm.pojo.client;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface contactService {

    List<Contact> selectAll(int uid);

    boolean save(Contact contact);

    boolean updateById(Contact contact);

    boolean deleteById(int id);

    client selectByCid(int cid);

    List<Contact> selectByKey(int uid,String key);
}
